#coding=utf-8
# 计算积分x^2
from sympy import *


def intergate_sympy(start, stop):
    x = symbols("x")
    result = integrate(3*x**2, (x, start, stop))
    return float(result)
